var id=GetQueryString('id');
$(document).ready(function(){
	loadAddHtml();
	
	
	$('#shap-table').on('click-row.bs.table', function (e, row, element){
		
		if(row.fileid==""){
			alertFunc("无法获取图片信息");
			return;
		}
		$(".shapImg").prop("src",'‪../../mbgyfileServlet.downFile.do?fileid=' + row.fileid)
		
	});
	$('#sound-table').on('click-row.bs.table', function (e, row, element){
		if(row.fileid==""){
			alertFunc("无法获取图片信息");
			return;
		}
		$(".soundImg").prop("src",'‪../../mbgyfileServlet.downFile.do?fileid=' + row.fileid)
	});
	
});
function loadAddHtml(){
	var gcxx = ajaxResult("get",false,"cnmuserum/dataServlet.getGcxxData.do",{id:id});
	var xzxx = ajaxResult("get",false,"cnmuserum/dataServlet.getXzxxData.do",{id:id});
	var whrlxx = ajaxResult("get",false,"cnmuserum/dataServlet.getWhrlxxxData.do",{id:id});
	var yxxx = ajaxResult("get",false,"cnmuserum/dataServlet.getYxxxData.do",{id:id});

	getBasicHmtl(gcxx.data);
	getShapHmtl(xzxx.data);
	getLiteratureHtml(whrlxx.data);
	getSoundHtml(yxxx.data);
	getCultureHtml("cnmuserum/dataServlet.getWhsxList.do?gcxxid="+id);
	getRepresentationHtml("cnmuserum/dataServlet.getDbrwList.do?gcxxid="+id);
	
	getDmtHtml("cnmuseum/pages/query/cnmuserum/dataServlet.getMultimediaList.do?gcxxid="+id);
	getXzHtml("cnmuseum/pages/query/cnmuserum/dataServlet.getXzxxList.do?gcxxid="+id);
	getYxHtml("cnmuseum/pages/query/cnmuserum/dataServlet.getYXxxList.do?gcxxid="+id);
	getQmHtml("cnmuseum/pages/query/cnmuserum/dataServlet.getTrackmessageList.do?gcxxid="+id);
	
	loadData("#basicDiv", gcxx.data);
	loadData("#shapDiv", xzxx.data);
	loadData("#soundDiv", yxxx.data);
	loadData("#literatureDiv", whrlxx.data);
	 

	var url = "MbXtglBaseTableServlet.getPullDataByParent.do";
	var domid = "collectionPlace";
	var tableName="mb_gy_dq";
	setInput_MultipleLevel(domid,tableName,true);
	
}
//馆藏基本信息
function getBasicHmtl(json){
	var html='';
	html+=addInput('collection_code','藏品编号',0 );
	html+=addInput('organization','保存机构',1 );
	html+=addInput('holding_code','馆藏编码',0 );
	html+=addInput('title','乐器名称',1 );
	html+=addInput('title_self','自称',0 );
	html+=addInput('phoneticSymbol','音标',1 );
	html+=addInput('titleDescription','名称解说词',0 );
	html+=addInput('class_huosa_text','霍萨分类',1 );
	html+=addInput('class_bayin_text','八音分类',0 );
	html+=addInput('class_minjian_text','民间分类',1 );
	html+=addInput('unearthedPlace','出土地点',0 );
	html+=addInput('year_text','年代',1 );
	html+=addInput('birthProcess','传世过程',0 );
	html+=addInput('language_text','语源',1 );
	html+=addInput('useNation_text','使用种族',0 );
	html+=addInput('otherNation','其他种族',1 );
	html+=addInput('originalarea','原属地',2 );
	
	
	//html+=addInput('sketch','简述',0 );
	html+=addTextarea('sketch','简述',2,json.sketch);
	$('#basicDiv').html(html);
}
//形制信息
function getShapHmtl(json){
	var html='';
	html+=addInput('volume','体量',0);
	html+=addInput('forminfo','形制',1);
	html+=addInput('material_text','材质构成',0);
	html+=addInput('technology','工艺传承',1);
	html+=addInput('improveState','改良状态说明',2);
	html+=addImg('formDrawing','形制绘图',2,json.formDrawing);
	html+=addTextarea('formDescription','形制说明',2,json.formDescription);
	html+=addImg('improveStateImage','改良状态图示',2,json.improveStateImage);
	html+=addTextarea('gjz','关键字',2,json.gjz);
	 
	$('#shapDiv').html(html);
}
//人文信息
function getLiteratureHtml(json){
	var html='';
	html+=addTextarea('originDescription','起源说明');
	html+=addImg('originImage','起源图示',1,json.originImage);
	html+=addAuto('originAudio','起源音频',2,json.originAudio);
	html+=addResource('originVideo','起源视频',3,json.originVideo);
	html+=addTextarea('historyDescription','历史沿革说明');
	html+=addImg('historyImage','历史沿革图示',1,json.historyImage);
	html+=addAuto('historyAudio','历史沿革音频',2,json.historyAudio);
	html+=addResource('historyVideo','历史沿革视频',3,json.historyVideo);
	html+=addTextarea('folkloreDescription','民间传说描述');
	html+=addImg('folkloreImage','民间传说图像',1,json.folkloreImage);
	html+=addAuto('folkloreAudio','民间传说音频',2,json.folkloreAudio);
	html+=addResource('folkloreVideo','民间传说视频',3,json.folkloreVideo);
	html+=addTextarea('faithDescription','宗教信仰');
	html+=addImg('faithImage','宗教信仰图像',1,json.faithImage);
	html+=addAuto('faithAudio','宗教信仰音频',2,json.faithAudio);
	html+=addResource('faithVideo','宗教信仰视频',3,json.faithVideo);
	html+=addInput_MultipleLevel('collectionPlace','藏品收藏地',2,2);
	html+=addTextarea('treasuresDescription','珍品描述');
	html+=addTextarea('gjz','关键字',2,json.gjz);
	$('#literatureDiv').html(html);
}
//声响信息
function getSoundHtml(json){
	var html='';
	html+=addTextarea('pitch','基音说明');
	html+=addAuto('pitchAudio','基音音频',2,json.pitchAudio);
	html+=addTextarea('tone','音列说明');
	html+=addAuto('toneAudio','音列音频',2,json.toneAudio);
	html+=addTextarea('temperament','乐律说明');
	html+=addAuto('temperamentAudio','乐律音频',2,json.temperamentAudio);
	html+=addTextarea('rangeExplain','音域说明');
	html+=addAuto('rangeAudio','音域音频',2,json.rangeAudio);
	html+=addTextarea('bestRegister','最佳音区说明');
	html+=addAuto('bestRegisterAudio','最佳音区音频',2,json.bestRegisterAudio);
	html+=addTextarea('toneMethod','调音法说明');
	html+=addResource('toneMethodAudio','调音法视频',2,json.toneMethodAudio);
	html+=addTextarea('voiceMechanism','发音机制描述');
	html+=addResource('voiceMechanismVideo','发音机制视频',3,json.voiceMechanismVideo);
	html+=addTextarea('ousticMechanism','数据截点为声源发声机制');
	html+=addTextarea('provoke','声源原始激起说明');
	html+=addResource('provokeVideo','声源原始激起视频',3,json.provokeVideo);
	html+=addTextarea('struct','声源结构说明');
	html+=addImg('structImage','声源结构图示',1,json.structImage);
	html+=addResource('structVideo','声源结构视频',3,json.structVideo);
	html+=addTextarea('soundMaterial','声源材质');
	html+=addTextarea('mediatorMaterial','中介物材质说明');
	html+=addImg('mediatorMaterialImage','中介物材质图示',1,json.mediatorMaterialImage);
	html+=addTextarea('mediatorStruct','中介物结构说明');
	html+=addImg('mediatorStructImage','中介物结构图示',1,json.mediatorStructImage);
	html+=addTextarea('mediatorShape','中介物形制说明');
	html+=addAuto('mediatorShapeAudio','中介物形制音频',1,json.mediatorShapeAudio);
	html+=addTextarea('vibrationTransferMaterial','传震物材质说明');
	html+=addImg('vibrationTransferMaterialImage','传震物材质图示',1,json.vibrationTransferMaterialImage);
	html+=addTextarea('vibrationTransferStruct','传震物结构说明');
	html+=addImg('vibrationTransferStructImage','传震物结构图示',1,json.vibrationTransferStructImage);
	html+=addTextarea('resonatorMaterial','共鸣器材质说明');
	html+=addImg('resonatorMaterialImage','共鸣器材质图示',1,json.resonatorMaterialImage);
	html+=addTextarea('resonatorStrut','共鸣器结构说明');
	html+=addImg('resonatorStrutImage','共鸣器结构图示',1,json.resonatorStrutImage);
	html+=addTextarea('rainPartSound','主要结构部位音质说明');
	html+=addAuto('rainPartSoundAudio','主要结构部位音质音频',2,json.mainPartSoundAudio);
	html+=addTextarea('techniques','主要演奏技法音质说明');
	html+=addResource('techniquesVideo','主要演奏技法音质视频',3,json.techniquesVideo);
	html+=addTextarea('spectrum','主要演奏技法音质图表及频谱说明');
	html+=addImg('spectrumImage','主要演奏技法音质图表及频谱图示',1,json.spectrumImage);
	html+=addTextarea('SpectrumAnalysis','频谱分析说明');
	html+=addImg('SpectrumAnalysisImage','频谱分析说明图示',1,json.spectrumAnalysisImage);
	html+=addTextarea('gjz','关键字',2,json.gjz);
	$('#soundDiv').html(html);
}
//文化信息
function getCultureHtml(url){
	var columns=[ 
		{
            field: 'no',
            title: '序号',
            sortable: true,
            align: "center",
            width: 40,
            formatter: function (value, row, index) {
            	   return index + 1;
            }
		},
//		{ title: '演奏形式', field: 'performingForms'},
//		{ title: '演奏形态', field: 'playForm'},
		{ title: '演奏与表演', field:'performance',
     	   formatter: function(value, row, index) {
    	        	var result="";	  
    	        	if(row.performance.length>20){
    	        		result ="<span title='"+row.performance+"'>"+row.performance.substring(0,19)+"...</span>";  	       	        		
    	        	}else{
    	        		result =row.performance;
    	        	}	        			
 	        	return result;
 		      }},
		{ title: '表演者', field: 'performer',
	     	   formatter: function(value, row, index) {
   	        	var result="";	  
   	        	if(row.performer.length>8){
   	        		result ="<span title='"+row.performer+"'>"+row.performer.substring(0,8)+"...</span>";  	       	        		
   	        	}else{
   	        		result =row.performer;
   	        	}	        			
	        	return result;
		      }},
		{ title: '制作', field: 'production',
	     	   formatter: function(value, row, index) {
	   	        	var result="";	  
	   	        	if(row.production.length>20){
	   	        		result ="<span title='"+row.production+"'>"+row.production.substring(0,20)+"...</span>";  	       	        		
	   	        	}else{
	   	        		result =row.production;
	   	        	}	        			
		        	return result;
			      }},
		{ title: '演奏者地位', field: 'playerposition',formatter: function(value, row, index) {
	        	var result="";	  
   	        	if(row.playerposition.length>10){
   	        		result ="<span title='"+row.playerposition+"'>"+row.playerposition.substring(0,10)+"...</span>";  	       	        		
   	        	}else{
   	        		result =row.playerposition;
   	        	}	        			
	        	return result;
		      }},
//		{ title: '民间传说描述', field: 'folk'},
		{ title: '流派', field: 'genre',formatter: function(value, row, index) {
        	var result="";	  
	        	if(row.genre.length>10){
	        		result ="<span title='"+row.genre+"'>"+row.genre.substring(0,10)+"...</span>";  	       	        		
	        	}else{
	        		result =row.genre;
	        	}	        			
        	return result;
	      }},
		{ title: '操作', formatter:function(value,row,index){
			html = "<a href='#' onclick='showWhsx("+row.zdbh+")'>查看</a>&nbsp;";
			return html;
		}}
	];
	createTableWithOutPage('#whsx-table',url,"",columns,{});
}
function showWhsx(zdbh){
	if(zdbh!=null&&zdbh!=undefined){
		var result=ajaxResult('GET',false,"cnmuserum/dataServlet.getWhsxData.do?id="+zdbh,"");
		if(result.status=='OK'){
			
			var html='';
//			html+=addSelect('instrumentType','乐器种类',1,'mb_gy_yqzl');
			html+=addInput('songster','作曲者',1);
			html+=addInput('lyricist','作词者',0);
//			html+=addInput('performingForms','演奏形式',0);
			html+=addInput('performer','表演者',1);
			
			html+=addInput('production','制作',0);
			html+=addInput('playerposition','演奏者地位',1);
	
			
			html+=addInput('genre','流派',0);
			html+=addInput('toPlayClub','演奏社团',1);
			
			
		
//			html+=addTextarea('folk','民间传说描述',2,result.data.folk);
//			html+=addTextarea('playForm','演奏形态',2,result.data.playForm);
			html+=addTextarea('performance','演奏与表演',2,result.data.playForm);
			
			html+=addTextarea('musicScoreExplain','谱例资料说明',2,result.data.musicScoreExplain);
			html+=addImg('musicScoreImage','谱例资料图片',1,result.data.musicScoreImage);
			html+=addTextarea('inheritTeachExplain','传承教学说明',2,result.data.inheritTeachExplain);
			html+=addResource('inheritTeachVideo','传承教学视频',3,result.data.inheritTeachVideo);
			html+=addTextarea('symbolsAndTaboos','象征与禁忌',2,result.data.symbolsAndTaboos);
			html+=addTextarea('socialFunction','社会功能',2,result.data.socialFunction);
			html+=addTextarea('culturalRole','文化角色',2,result.data.culturalRole);
			html+=addTextarea('culturalFunction','文化功能',2,result.data.culturalFunction);
			html+=addTextarea('culturalContext','文化语境',2,result.data.culturalContext);
			
			
			
			html+= "<input type=text style='display:none' id='whsx_zdbh'  name='whsx_zdbh'>";
			$('#form_whsx').html(html);
			
			$('#editWhsxModal').modal('show');
			loadData("#form_whsx",result.data);
			//$("#form_whsx input[name=whsx_zdbh]").val(result.data.id);
		}else{
			alertFunc("获取信息错误",{});
		}
	}else{
		alertFunc("获取信息错误",{});
	}
	
}
//人物信息
function getRepresentationHtml(url){
	var columns=[ 
		{ title: '人物名称', field: "name"},
		{ title: '年代', field: 'dbrwYear'},
		{ title: '贡献', field: 'contribution'},
		{ title: '代表著作', field: 'representativeworks'},
		{ title: '操作', formatter:function(value,row,index){
			html = "<a href='#' onclick='showDbrw("+row.zdbh+",true)'>查看</a>&nbsp;";
			return html;
		}}
	];
	createTableWithOutPage('#dbrw-table',url,"",columns,{});
}





//多媒体信息列表
function getDmtHtml(url){
	var columns=[ 
		{ title: '编号', field: "numbercode"},
		{ title: '名称', field: "name"},
		{ title: '文件类', field: "filetype"},
		{ title: '来源', field: "source"},
		{ title: '作者', field: "author"},
		{ title: '日期', field: "messagedate"},
		{ title: '备注', field: "remark"}
	];
	createTableWithOutPage('#dmt-table',url,"",columns,{});
}

//形制信息列表
function getXzHtml(url){
	var columns=[ 
		{ title: '编号', field: "numbercode"},
		{ title: '名称', field: "namecontent"},
		{ title: '文件类', field: "filetype"},
		{ title: '备注', field: "remark"}
	];
	createTableWithOutPage('#shap-table',url,"",columns,{});
}



//形制信息列表
function getYxHtml(url){
	var columns=[ 
		{ title: '编号', field: "numbercode"},
		{ title: '名称内容', field: "namecontent"},
		{ title: '文件类', field: "filetype"},
		{ title: '备注', field: "remark"}
	];
	createTableWithOutPage('#sound-table',url,"",columns,{});
}


//曲目信息列表
function getQmHtml(url){
	var columns=[ 
		{ title: '曲目', field: "trackname"},
		{ title: '备注', field: "remark"}
	];
	createTableWithOutPage('#qm-table',url,"",columns,{});
}





function showDbrw(zdbh){
	var html='';
	html+=addInput('name','人物名称',2);
	html+=addInput('dbrwYear','年代',2);
	html+=addTextarea('contribution','贡献');
	html+=addInput('representativeworks','代表著作',2);
	html+= "<input type=text style='display:none' id='dbrw_zdbh'  name='dbrw_zdbh'>"
	$('#form_dbrw').html(html);
	if(zdbh!=null&&zdbh!=undefined){
		var result=ajaxResult('GET',false,"cnmuserum/dataServlet.getDbrwData.do?id="+zdbh,"");
		if(result.status=='OK'){
			loadData("#form_dbrw",result.data);
			$("#form_dbrw input[name=dbrw_zdbh]").val(result.data.id);
		}
	}
	$('#editDbrwModal').modal('show');
}
//审批意见信息
function getAdviceHtml(){
	var adviceColumns=[ 
	                  	{ title: '序号', width: 50, align: "center", formatter: function (value, row, index) { return index + 1; } },
	                  	{ title: '建议人', field: 'jsmc'},
	                  	{ title: '建议内容', field: 'jsms'},
	                  	{ title: '时间', field: 'jsms'}
	                  ];
	var html='';
	if(type=='user'){
		html+=nextflowHtml();
	}
	html+=addTextarea('advice','意见建议');
	html+='<input type="hidden" name="nextdesc" id="nextdesc" >';
	html+='<table class="table_list_box" id="adviceList"></table>';
	$('#adviceDiv').html(html);
	createTable('#adviceList','','id',adviceColumns,null,null);
}

function videoInput(selector,url){
	$(selector).fileinput({
        language: 'zh', //设置语言
        uploadUrl:url, //上传的地址
       	allowedFileExtensions: ['mp4', 'RMVB', 'rmvb'],//接收的文件后缀
        showUpload:true, //是否显示上传按钮
        showRemove :true, //显示移除按钮
        showPreview :false, //是否显示预览
       dropZoneEnabled: false,//是否显示拖拽区域
        //maxFileSize:0,//单位为kb，如果为0表示不限制文件大小
       //minFileCount: 0,
        maxFileCount:1, //表示允许同时上传的最大文件个数
   }).on("fileuploaded", function (event, data, previewId, index){

	});
}

function fileuploadInput(selector,url){
	$(selector).fileinput({
        language: 'zh', //设置语言
        uploadUrl:url, //上传的地址
       	//allowedFileExtensions: ['mp4', 'RMVB', 'rmvb'],//接收的文件后缀
        showUpload:true, //是否显示上传按钮
        showRemove :true, //显示移除按钮
        showPreview :false, //是否显示预览
       dropZoneEnabled: false,//是否显示拖拽区域
        //maxFileSize:0,//单位为kb，如果为0表示不限制文件大小
       //minFileCount: 0,
        maxFileCount:1, //表示允许同时上传的最大文件个数
   }).on("fileuploaded", function (event, data, previewId, index){

	});
}

var imgColumn=[ { title: '锁定',width:'8%',checkbox: true},
                { title: '图片',field: 'savePath',formatter: function (value, row, index) {
                	/*return '<img src="'+value+'" />';*/
                	return '<img src="../img/bg_1.jpg" style="width:50px;height:50px;" />';}},
                { title: '名称',field: 'filename'}
            ];
var audioColumn=[ { title: '锁定',width:'8%',checkbox: true},
                { title: '图片',field: 'savePath'},
                { title: '名称',field: 'filename'}
            ];
//flag 1上传影像资源，2上传音频，3视频，4三维模型，5文献，
var resourceInputId;
function chooseResource(id,flag){
	resourceInputId=id;
	var columns;
	if(flag==1){
		columns=imgColumn;
	}else if(flag==2){
		columns=audioColumn;
	}else if(flag==3){
		columns=audioColumn;
	}else if(flag==4){
		columns=audioColumn;
	}else if(flag==5){
		columns=audioColumn;
	}
	$('#resource-table').bootstrapTable('destroy');
	createTableSingleSelect('#resource-table', 'mbmanageresourceservlet.getResourceByUser.do', 'id', columns,{type:flag});
	$('#chooseResource').modal('show');
}


//数据录入的保存
function save(){
	var params=$('#addForm').serializeObject();
	var result=ajaxResult('POST',false,'cjFlowServlet.savedata.do',params);
	if(result.status=='OK'){
		alertFunc('新增保存成功',function(){
			$('#data-table').bootstrapTable('refresh');
		 });
	}
}
var userColumns = [ 
               	{ title: '选择',width:'8%',checkbox: true},
               	{ title: '姓名', field: 'xm' ,width: 50},
               	{ title: '性别', field: 'xb' ,width: 30,formatter: function (value, row, index) { 
               		var result="";
               		if(row.xb==1){
               			result="男";
               		}else{
               			result="女";
               		}
               		return result;
               	}},
               	{ title: '国籍', field: 'gj' ,width: 95,formatter: function (value, row, index) { 
               		var result="";
               		if(row.gj==1){
               			result="中国";
               		}
               		return result;
               	}},
               ];
var expertColumns = [ 
                  	{ title: '选择',width:'8%',checkbox: true},
                  	{ title: '角色名称', field: 'jsmc' ,width: 50},
                  	{ title: '角色描述', field: 'jsms'}
                  ];
//数据录入的提交
function submit(){
	$('#userInfo').bootstrapTable('destroy');
	if(type=='user'){
		var nextflow=$('#nextflow').val();
		if(nextflow=='cj'){
			loadNextUsers(0);
		}else if(nextflow=='lr'){
			loadNextUsers(1);
		}else if(nextflow=='sh'){
			submitLast();
		}
	}else{
		submitLast();
	}
	
}
function submitLast(){
	var params=$('#addForm').serializeObject();
	var result=ajaxResult('POST',false,'cjFlowServlet.submitdata.do',params);
	if(result.status=='OK'){
		alertFunc('新增提交成功',function(){
			location.reload();
		 });
	}
}
//下一步流程的加载项，flag 0用户，1专家
function loadNextUsers(flag){
	$('#leftDiv').css('display','none');
	$('#rightDiv').removeClass('col-md-9');
	$('#rightDiv').addClass('col-md-12');
	if(flag==0){
		var setting = {
				data: {
					simpleData: {
						enable: true
					}
				},
				callback: {
					
					onClick: zTreeOnCheck
				}
			};
		/*var jsonTree = ajaxResult("get",false,"../mbxtgljgservlet.getDataByTree.do");	
		$.fn.zTree.init($("#orgTree"), setting, jsonTree.data);*/
		createTable('#userInfo','../mbXtglCjrServlet.getCjr.do','zdbh',userColumns,null,null);
	}else{
		createTable('#userInfo','../mbXtglZjkServlet.getZjk.do','zdbh',expertColumns,null,null);
	}
	$('#nextFlowModal').modal('show');
}
//下一步流程是专家或者继续采集时
function nextUserConfirm(){
	var rowArray= $('#userInfo').bootstrapTable('getSelections');
	if(rowArray.length==0){
		alertFunc("请选中一行");
		return false;
	}else{
		var ids='';
		for(var i=0;i<rowArray.length;i++){
			ids+=rowArray[i].zdbh+',';
		}
		ids = ids.substr(0,ids.length-1);
		$('#nextdesc').val(ids);
	}
	$('#chooseResource').modal('hide');
	$('#resource-table').bootstrapTable('destroy');
	var params=$('#addForm').serializeObject();
	var url;
	if(addModify=="add"|addModify=="modify"){//录入页面
		url='cjFlowServlet.submitdata.do';
	}else if(addModify=="itemUser"|addModify=="itemExpert"){//编目页面
		url='bjFlowServlet.submitdata.do';
	}
	var result=ajaxResult('POST',false,url,params);
	if(result.status=='OK'){
		alertFunc('新增提交成功',function(){
			window.location.href='dataCollect.html';
		 });
	}
}
function zTreeOnCheck(event, treeId, treeNode) {
	if(treeNode.level==0){
		return;
	}
	var params ={
		 pageNumber:1,
		 limit:pageSize,
		 offset:0,
		 szjg:treeNode.id
	 }
		 $("#userInfo").bootstrapTable('refresh',{query:params});	
};
function addResourceConfirm(){
	var rowArray= $('#resource-table').bootstrapTable('getSelections');
	if(rowArray.length==0){
		alertFunc("请选中一行");
	}else if(rowArray.length>1){
		alertFunc("只能选中一行");
	}else{
		$('#'+resourceInputId+'1').val(rowArray[0].filename);
		$('#'+resourceInputId).val(rowArray[0].id);
	}
	$('#chooseResource').modal('hide');
	$('#resource-table').bootstrapTable('destroy');
}
//获取普通select html
function nextflowHtml(){
	var html='';
		html+='<div class="row">';
	html+='<div class="col-md-2 text-right">';
		html+='<span>下一步：</span>';
	html+='</div>';
	html+='<div class="col-md-4">';
		html+='<select id="nextflow" name="nextflow" class="form-control">';
				html+='<option value="cj">继续采集</option>';
				html+='<option value="lr">邀请专家录入</option>';
				html+='<option value="sh">提交审核</option>';
		html+='</select>';
	html+='</div>';
		html+='</div>';
	return html;
}